Platform Explorer / Nuxeo Platform 11.4

Component org.nuxeo.platform.video.core.renditions

Requirements

Resolution Order

559
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.platform.video.core.renditions">

  <require>org.nuxeo.ecm.platform.rendition.contrib</require>

  <extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService"
    point="renditionDefinitionProviders">

    <renditionDefinitionProvider name="videoRenditionDefinitionProvider"
      class="org.nuxeo.ecm.platform.video.rendition.VideoRenditionDefinitionProvider">
      <filters>
        <filter-id>hasVideo</filter-id>
      </filters>
    </renditionDefinitionProvider>

  </extension>

  <extension target="org.nuxeo.ecm.platform.actions.ActionService"
    point="filters">

    <filter id="hasVideo">
      <rule grant="true">
        <facet>Video</facet>
      </rule>
    </filter>

    <filter id="allowPDFRendition" append="true">
      <rule grant="false">
        <facet>Video</facet>
      </rule>
    </filter>

  </extension>

</component>